package cn.lds.j368.dsedu.service;


import cn.lds.j368.dsedu.dto.ResultJson;
import cn.lds.j368.dsedu.entity.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "ds-edu-order-service")
public interface OrderService {

    @PostMapping("/api/order/add")
    public ResultJson addOrder(Order order);
}
